package com.chs.recoginition.vo.auth;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 重置密码
 */
@Data
public class PasswordResetVo implements Serializable {
    private static final long serialVersionUID = 129484828266842116L;

    /**
     * 原密码
     */
    @NotBlank(message = "原密码不能为空")
    private String originPassword;

    /**
     * 新密码
     */
    @NotBlank(message = "新密码不能为空")
    private String password;

    @Override
    public String toString() {
        return "PasswordResetVo{" +
                "originPassword='" + "***" + '\'' +
                ", password='" + "***" + '\'' +
                '}';
    }
}
